﻿<%@ Page Title="" Language="VB" MaintainScrollPositionOnPostback="true" MasterPageFile="~/Master/Site_InnerWeb.master" AutoEventWireup="false" CodeFile="ConfirmOrder.aspx.vb" Inherits="private_secure_members_payment_ConfirmOrder" %>

<%@ Register Src="../../../Controls/ConfirmOrderGrid.ascx" TagName="ConfirmOrderGrid" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="../../../Controls/AddNewCard.ascx" tagname="AddNewCard" tagprefix="uc2" %>

<%@ Register src="../../../Controls/EditDeleteCard.ascx" tagname="EditDeleteCard" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <!-- This goes in the document HEAD so IE7 and IE8 don't cry -->
    <!--[if lt IE 9]>
	<style type="text/css">
		table.gradienttable th {
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d5e3e4', endColorstr='#b3c8cc',GradientType=0 );
			position: relative;
			z-index: -1;
		}
		table.gradienttable td {
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebecda', endColorstr='#ceceb7',GradientType=0 );
			position: relative;
			z-index: -1;
		}
	</style>
	<![endif]-->

    <!-- CSS goes in the document HEAD or added to your external stylesheet -->
    <style type="text/css">
        .auto-style1 {
            width: 109px;
        }
    </style>
    <link href="../../../Content/PriceTable.css" rel="stylesheet" />
    <link href="../../../Content/TableCSS.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <h2>Confirm Payment Details
    </h2>
    <p>
        Please review the details of the order below and click on the Complete Order button to finalise the transaction.
    </p>
    <p>
        Once you have clicked the Complete Order button (once only!), please wait for the Payment Confirmation page to be displayed. This make take a minute or two. Please do not click your browser's Back or Refresh button during this process until it is complete. This caution is to make sure that you do not pay for your items more than once!
    </p>

    <asp:ObjectDataSource ID="ObjectDataSource4" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="LogginsLogDSTableAdapters.usp_ShowCreditsByEntityTableAdapter">
        <SelectParameters>
            <asp:Parameter Name="EntityId" Type="Int32" />
            <asp:Parameter Direction="InputOutput" Name="UnitPurchasePrice" Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>

    <br />
    <asp:ListView ID="ListView1" runat="server" GroupItemCount="3">
        <AlternatingItemTemplate>
            <ul class="pricing_table">
                <li class="price_block">
                    <h3>Name:
                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Name") %>' /></h3>
                    <div class="price">
                        <div class="price_figure">
                            <span class="price_number">
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("Price") %>' /></span>
                        </div>
                    </div>
                    <ul class="features">



                        <li>Units:
                <asp:Label ID="Label8" runat="server" Text='<%# Eval("Units") %>' /></li>

                        <li>Sub Total:
                <asp:Label ID="Label10" runat="server" Text='<%# Eval("[Sub Total]")%>' /></li>
                        <li>VAT Amount:
                <asp:Label ID="VAT_AmountLabel" runat="server" Text='<%# Eval("[VAT Amount]") %>' /></li>
                        <li>Total:
                <asp:Label ID="Label9" runat="server" Text='<%# Eval("Total") %>' /></li>
                    </ul>
                </li>
            </ul>


            <ul class="skeleton pricing_table" style="margin-top: 100px; overflow: hidden;">
                <li class="label" style="margin: 0 none;">ul.pricing_table</li>
                <li class="price_block">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>


                <li class="price_block" style="opacity: 0.5;">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>
                <li class="price_block" style="opacity: 0.25;">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>
            </ul>
        </AlternatingItemTemplate>
        <EditItemTemplate>
            <td id="Td1" runat="server" style="">
                <br />
                Name:
                <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
                <br />
                Units:
                <asp:Label ID="UnitsLabel" runat="server" Text='<%# Eval("Units") %>' />
                <br />
                Price:
                <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price") %>' />
                <br />
                Sub Total:
                <asp:Label ID="Sub_TotalLabel" runat="server" Text='<%# Eval("[Sub Total]")%>' />
                <br />
                VAT Amount:
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("[VAT Amount]") %>' />
                <br />
                Total:
                <asp:Label ID="TotalLabel" runat="server" Text='<%# Eval("Total") %>' />
                <br />
            </td>
        </EditItemTemplate>
        <EmptyDataTemplate>
            <table runat="server" style="">
                <tr>
                    <td>No data was returned.</td>
                </tr>
            </table>
        </EmptyDataTemplate>
        <EmptyItemTemplate>
            <td runat="server" />
        </EmptyItemTemplate>
        <GroupTemplate>
            <tr id="itemPlaceholderContainer" runat="server">
                <td id="itemPlaceholder" runat="server"></td>
            </tr>
        </GroupTemplate>
        <InsertItemTemplate>
            <td id="Td2" runat="server" style="">
                <br />
                Name:
                <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
                <br />
                Units:
                <asp:Label ID="UnitsLabel" runat="server" Text='<%# Eval("Units") %>' />
                <br />
                Price:
                <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price") %>' />
                <br />
                Sub Total:
                <asp:Label ID="Sub_TotalLabel" runat="server" Text='<%# Eval("[Sub Total]")%>' />
                <br />
                VAT Amount:
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("[VAT Amount]") %>' />
                <br />
                Total:
                <asp:Label ID="TotalLabel" runat="server" Text='<%# Eval("Total") %>' />
                <br />
            </td>
        </InsertItemTemplate>
        <ItemTemplate>
            <ul class="pricing_table">
                <li class="price_block">
                    <h3>Name:
                <asp:Label ID="Label5" runat="server" Text='<%# Eval("Name") %>' /></h3>
                    <div class="price">
                        <div class="price_figure">
                            <span class="price_number">
                                <asp:Label ID="Label2" runat="server" Text='<%# Eval("Price") %>' /></span>
                        </div>
                    </div>
                    <ul class="features">



                        <li>Units:
                <asp:Label ID="Label8" runat="server" Text='<%# Eval("Units") %>' /></li>

                        <li>Sub Total:
                <asp:Label ID="Label10" runat="server" Text='<%# Eval("[Sub Total]")%>' /></li>
                        <li>VAT Amount:
                <asp:Label ID="VAT_AmountLabel" runat="server" Text='<%# Eval("[VAT Amount]") %>' /></li>
                        <li>Total:
                <asp:Label ID="Label9" runat="server" Text='<%# Eval("Total") %>' /></li>
                    </ul>
                </li>
            </ul>


            <ul class="skeleton pricing_table" style="margin-top: 100px; overflow: hidden;">
                <li class="label" style="margin: 0 none;">ul.pricing_table</li>
                <li class="price_block">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>


                <li class="price_block" style="opacity: 0.5;">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>
                <li class="price_block" style="opacity: 0.25;">
                    <span class="label">li.price_block</span>
                    <h3><span class="label">h3</span></h3>
                    <div class="price">
                        <span class="label">div.price</span>
                        <div class="price_figure">
                            <span class="label">div.price_figure</span>
                            <span class="price_number">
                                <span class="label">span.price_number</span>
                            </span>
                            <span class="price_tenure">
                                <span class="label">span.price_tenure</span>
                            </span>
                        </div>
                    </div>
                    <ul class="features">
                        <li class="label">ul.features</li>
                        <br />
                        <br />
                        <br />
                    </ul>
                    <div class="footer">
                        <span class="label">div.footer</span>
                    </div>
                </li>
            </ul>


        </ItemTemplate>
        <LayoutTemplate>
            <table runat="server">
                <tr runat="server">
                    <td runat="server">
                        <table id="groupPlaceholderContainer" runat="server" border="0" style="">
                            <tr id="groupPlaceholder" runat="server">
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr runat="server">
                    <td runat="server" style=""></td>
                </tr>
            </table>
        </LayoutTemplate>
        <SelectedItemTemplate>
            <td id="Td4" runat="server" style="">
                <br />
                Name:
                <asp:Label ID="NameLabel" runat="server" Text='<%# Eval("Name") %>' />
                <br />
                Units:
                <asp:Label ID="UnitsLabel" runat="server" Text='<%# Eval("Units") %>' />
                <br />
                Price:
                <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price") %>' />
                <br />
                Sub Total:
                <asp:Label ID="Sub_TotalLabel" runat="server" Text='<%# Eval("[Sub Total]")%>' />
                <br />
                VAT Amount:
                <asp:Label ID="Label1" runat="server" Text='<%# Eval("[VAT Amount]") %>' />
                <br />
                Total:
                <asp:Label ID="TotalLabel" runat="server" Text='<%# Eval("Total") %>' />
                <br />
            </td>
        </SelectedItemTemplate>
    </asp:ListView>
    <div>
        <asp:Panel ID="pnlHideSum" runat="server" Visible="false">
        <table>
            <tr>
                <td>
                    
                        <br />
                        <h2>Sum of all selected items is</h2>
                        <hr />
                        <br />

                        <table border="1" class="gradienttable">
                            <tr>
                                <td class="auto-style2">Sub Total:</td>
                                <td>
                                    <asp:Label ID="lblSubTotal" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style2">VAT:</td>
                                <td>
                                    <asp:Label ID="lblVAT" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style2"><strong>Total to Pay:</strong></td>
                                <td>
                                    <asp:Label ID="lblFinalTotal" runat="server" Text=""></asp:Label>
                                </td>
                            </tr>
                        </table>
                    
                </td>
            </tr>
        </table></asp:Panel>
        
        <table id="gradienttable">
            
            <tr>
                <td>
                    <br />
                    <h2>Choose payment method</h2>
                    <hr />
                    <br />
                    <br />

                    <table>
                                                    <tr>
                                <td class="style2">
                                    <asp:Label ID="lblPaymentMethod" runat="server" Text="Payment Method"></asp:Label>
                                </td>
                                <td class="auto-style3">
                                    <asp:DropDownList ID="cboCCType" runat="server" DataSourceID="ObjectDataSource3" DataTextField="Name" DataValueField="Id" AutoPostBack="True">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="LogginsLogDSTableAdapters.usp_lkp_PaymentMethodSelectTableAdapter" UpdateMethod="Update">
                                        <DeleteParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                        </DeleteParameters>
                                        <InsertParameters>
                                            <asp:Parameter Name="Name" Type="String" />
                                            <asp:Parameter Name="Active" Type="Boolean" />
                                        </InsertParameters>
                                        <SelectParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                        </SelectParameters>
                                        <UpdateParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                            <asp:Parameter Name="Name" Type="String" />
                                            <asp:Parameter Name="Active" Type="Boolean" />
                                        </UpdateParameters>
                                    </asp:ObjectDataSource>
                                </td>
                            </tr>

                        </table>
                </td>
            </tr>
            <tr>
                <td>
                    <br />

                    <asp:MultiView ID="MultiView1" runat="server">

                        <asp:View ID="View1" runat="server">
                                                        <asp:Panel ID="Panel1" runat="server" GroupingText="PayPal payment"></asp:Panel>

                                                        PayPal payment
                        </asp:View>
                        <asp:View ID="View2" runat="server">
                   <asp:Panel ID="Panel2" runat="server" GroupingText="Credit card payment" > 
                        <div style="float: left;">
                        <br />
                        <h2>Pay with Credit Card</h2>
                        <hr />
                        <br />


                            <table style="width: 100%;">
                                <tr>
                                    <td>
                                        <asp:Label ID="MsgLbl" runat="server" Text=""></asp:Label>
                                        <br />
                                        <br />
                                        <asp:DropDownList ID="ddlSavedCreditCards" runat="server" AutoPostBack="True">
                                        </asp:DropDownList>
                                        <br />
                                        <asp:Button ID="Button8" runat="server" Text="Add new Credit Card" />
                                        <asp:Button ID="Button9" runat="server" Text="Card details" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                    <br />
                                    <br />

                        <%--            class="gradienttable"          --%>
                            <asp:Panel ID="Panel3"  runat="server"> 
                    <table border="1"  >

                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="lblCurrency" runat="server" Text="Currency"></asp:Label>
                                </td>
                                <td class="auto-style3">
                                    <asp:DropDownList ID="ddCurrency" runat="server" DataSourceID="ODSCurrency" DataTextField="Name" DataValueField="Id">
                                    </asp:DropDownList>
                                    <asp:ObjectDataSource ID="ODSCurrency" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="LogginsLogDSTableAdapters.usp_lkp_CurrencySelectTableAdapter" UpdateMethod="Update">
                                        <DeleteParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                        </DeleteParameters>
                                        <InsertParameters>
                                            <asp:Parameter Name="Name" Type="String" />
                                            <asp:Parameter Name="Active" Type="Boolean" />
                                        </InsertParameters>
                                        <SelectParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                        </SelectParameters>
                                        <UpdateParameters>
                                            <asp:Parameter Name="Id" Type="Int32" />
                                            <asp:Parameter Name="Name" Type="String" />
                                            <asp:Parameter Name="Active" Type="Boolean" />
                                        </UpdateParameters>
                                    </asp:ObjectDataSource>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label4" runat="server" Text="Card Number:"></asp:Label>
                                </td>
                                <td class="auto-style3">
                                    <asp:TextBox ID="txtCardNumber" runat="server" Width="80%"></asp:TextBox>
                                    <asp:MaskedEditExtender ID="txtCardNumber_MaskedEditExtender" runat="server"
                                        TargetControlID="txtCardNumber"
                                        Mask="9999999999999999"
                                        MessageValidatorTip="true"
                                        OnFocusCssClass="MaskedEditFocus"
                                        OnInvalidCssClass="MaskedEditError"
                                        MaskType="Number"
                                        InputDirection="LeftToRight"
                                        AcceptNegative="Left"
                                        ErrorTooltipEnabled="True"></asp:MaskedEditExtender>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label11" runat="server" Text="Valid From:"></asp:Label>
                                </td>
                                <td valign="middle" class="auto-style3">mm
                            <asp:DropDownList ID="cboCardValidMM" runat="server">
                                <asp:ListItem Value="1">1</asp:ListItem>
                                <asp:ListItem Value="2">2</asp:ListItem>
                                <asp:ListItem Value="3">3</asp:ListItem>
                                <asp:ListItem Value="4">4</asp:ListItem>
                                <asp:ListItem Value="5">5</asp:ListItem>
                                <asp:ListItem Value="6">6</asp:ListItem>
                                <asp:ListItem Value="7">7</asp:ListItem>
                                <asp:ListItem Value="8">8</asp:ListItem>
                                <asp:ListItem Value="09">9</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                            </asp:DropDownList>
                                    &nbsp;yy
                            <asp:DropDownList ID="cboCardValidYY" runat="server">

                            </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label6" runat="server" Text="Expiry Date:"></asp:Label>
                                </td>
                                <td valign="middle" class="auto-style3">mm
                            <asp:DropDownList ID="cboCardExpiryMM" runat="server">
                                <asp:ListItem Value="1">1</asp:ListItem>
                                <asp:ListItem Value="2">2</asp:ListItem>
                                <asp:ListItem Value="3">3</asp:ListItem>
                                <asp:ListItem Value="4">4</asp:ListItem>
                                <asp:ListItem Value="5">5</asp:ListItem>
                                <asp:ListItem Value="6">6</asp:ListItem>
                                <asp:ListItem Value="7">7</asp:ListItem>
                                <asp:ListItem Value="8">8</asp:ListItem>
                                <asp:ListItem Value="09">9</asp:ListItem>
                                <asp:ListItem Value="10">10</asp:ListItem>
                                <asp:ListItem Value="11">11</asp:ListItem>
                                <asp:ListItem Value="12">12</asp:ListItem>
                            </asp:DropDownList>
                                    &nbsp;yy
                            <asp:DropDownList ID="cboCardExpiryYY" runat="server">
                            </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="auto-style1">
                                    <asp:Label ID="Label3" runat="server" Text="CVV:"></asp:Label>
                                </td>
                                <td class="auto-style3">
                                    <asp:TextBox ID="txtCVV" runat="server"></asp:TextBox>
                                    <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server" TargetControlID="txtCVV"
                                        Mask="9999"
                                        MessageValidatorTip="true"
                                        OnFocusCssClass="MaskedEditFocus"
                                        OnInvalidCssClass="MaskedEditError"
                                        MaskType="Number"
                                        InputDirection="LeftToRight"
                                        AcceptNegative="Left"
                                        ErrorTooltipEnabled="True"></asp:MaskedEditExtender>
                                                                        <asp:HyperLink ID="HyperLink7" runat="server">Whats this?</asp:HyperLink>
                        <asp:Panel ID="Panel4" runat="server" Direction="NotSet" style="text-align:center">
                                        <img src="../../../Images/cvv.jpg" />
                        </asp:Panel>
                        <asp:BalloonPopupExtender ID="PopupControlExtender2" runat="server" BalloonPopupControlID="Panel4"  BalloonSize="Large"  BalloonStyle="Rectangle" DisplayOnClick="true" DisplayOnFocus="true" DisplayOnMouseOver="true" Position="TopRight" ScrollBars="None" TargetControlID="HyperLink7" UseShadow="true"></asp:BalloonPopupExtender>

                                    </td>
                            </tr>
                            <tr>
                                <td class="auto-style1"></td>
                                <td class="auto-style5">
                                    <asp:Button ID="Button7" runat="server" Text="Pay" />
                                    <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" />
                                </td>
                            </tr>
                            <tr class="hiddden">
                                <td class="auto-style1">
                                    <asp:Label ID="Label7" runat="server" Text="Save credit card:" Visible="false"></asp:Label>
                                </td>
                                <td class="auto-style3">
                                    <asp:CheckBox ID="chkSaveCreditCard" runat="server" Checked="true" Visible="false" />
                                </td>
                            </tr>
                        </table></asp:Panel>
</td>
                                </tr>
                            </table>
                    </div>
                        <div style="float: left; padding-left: 20px">


                                <%--        <asp:Panel ID="Panel1" runat="server" Style="display: none" CssClass="modalPopup">--%>

                            <asp:Panel ID="pnlNewCard" runat="server" CssClass="modalPopup">


                                <uc2:AddNewCard ID="AddNewCard1" runat="server" />
                            </asp:Panel>
                            <asp:Button ID="btnNewCard" runat="server" Style="display: none;" Text="Button" />
                            <asp:ModalPopupExtender ID="NewCardModalPopupExtender" runat="server" BackgroundCssClass="modalBackground" DropShadow="true" DynamicServicePath="" Enabled="True" PopupControlID="pnlNewCard" TargetControlID="btnNewCard"></asp:ModalPopupExtender>

                        </div>     
                   </asp:Panel>

                        </asp:View>
                    </asp:MultiView>
                </td>


            </tr>
        </table>

    </div>

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="LogginsLogDSTableAdapters.usp_ShowCreditsByEntityTableAdapter">
        <SelectParameters>
            <asp:Parameter Name="EntityId" Type="Int32" />
            <asp:Parameter Direction="InputOutput" Name="UnitPurchasePrice" Type="Object" />
        </SelectParameters>
    </asp:ObjectDataSource>

    <br />
</asp:Content>

